Application data synchronization in telecommunications system

ABSTRACT

A method of arranging data synchronization of at least one application in a networked system, which comprises at least one terminal, at least one synchronization server, a first database in the terminal, and a second database. In the method, a configuration message is formed which comprises data required for the application data synchronization, said data comprising settings of at least the second database. The configuration message is transmitted from the synchronization server to the terminal. A synchronization connection is arranged between the terminal and the synchronization server to perform the synchronization. The synchronization is initialized using the arranged synchronization connection and at least part of said data, data of the first database and the second database being synchronized using at least part of said data.

[0001] This application is a Continuation of International Application PCT/FI02/00251 filed on 25. May 2002, which designated the U.S. and was published under PCT Article 21(2) in English.

BACKGROUND OF THE INVENTION

[0002] The invention relates to data synchronization in a telecommunications system, particularly to application data synchronization in a networked system comprising at least one terminal, at least one synchronization server and at least one database. Data synchronization is an operation in which a correspondence between at least two data collections is created in such a way that, after the synchronization, the information units of the data collections substantially correspond to each other.

[0003] Data of portable terminals, such as portable computers, PDA (Personal Digital Assistant) devices, mobile stations or pagers, can be synchronized with network applications, desktop computer applications or other databases in a telecommunications system. Typically, data of calendar and e-mail applications, in particular, are synchronized. Synchronization has previously been based on different manufacturer-specific protocols which are not compatible with each other. This restricts the use of the terminals and data types used and is typically difficult for the user. In mobile communication, in particular, it is important to acquire and update data irrespective of the terminal or application used.

[0004] The SyncML (Synchronization Markup Language), which is based on the XML (Extensible Markup Language), has been provided for improved application data synchronization. The SyncML synchronization protocol using messages in the SyncML format allows data synchronization in any application between any networked terminals. For example, a calendar entry in a mobile station is automatically synchronized with the network calendar used by a company secretary. The SyncML synchronization protocol operates in both wireless and wired networks and supports several transfer protocols. The SyncML synchronization protocol can be implemented, for example, on top of the HTTP protocol (Hyper Text Transfer Protocol), the WSP protocol (Wireless Session Protocol) of the WAP (Wireless Application Protocol) standard, the OBEX protocol used for cable links, such as the USB (Universal Serial Bus) or RS-232, or for short-range radio frequency (Bluetooth) links or infrared (IrDA) links, on top of a TCP/IP (Transport Control Protocol/Internet Protocol) stack, and also on top of an e-mail protocol (SMTP, Simple Mail Transfer Protocol).

[0005]FIG. 1 illustrates a synchronization example in which a mobile station MS functions as a SyncML client terminal and a network server S functions as a SyncML server. In the SyncML synchronization service, a synchronization session is first initialized, whereby for example the database to be synchronized is selected. The SyncML client terminal MS comprises a Sync Client Agent and sends a SyncML message (Client Modifications) comprising at least information on the data that is the object of the synchronization in the mobile station MS and that has changed after the previous synchronization. The SyncML server S comprises a Sync Server Agent controlling the synchronization and a Sync Engine, and it usually waits for the initiation of the SyncML client (MS) for synchronization. The server S synchronizes the data, i.e., analyzes the modifications made to the data of the database and client terminal and makes the data coherent (makes the necessary modifications, replacements and deletions). After this, the SyncML server S returns the server modifications to the SyncML client (MS). The above-described example is simple, but nevertheless, it illustrates the roles of the devices in the SyncML standard. The SyncML client terminal (MS) is typically a mobile station, a PC (Personal Computer), a laptop computer, or a PDA device. The SyncML server S is typically a network server or a PC.

[0006] Various settings relating to the synchronization must be defined for the terminal comprising a SyncML client agent before synchronization with the SyncML server can be performed. These settings include the address of the SyncML server and the addresses and types of the databases used. Users typically have several databases to synchronize, so that each database requires settings of its own. Users find entering these settings manually and even accepting completed settings difficult and laborious.

BRIEF DESCRIPTION OF THE INVENTION

[0007] An object of the invention is to avoid the above-described problems and to provide data synchronization as easy as possible in different terminals. The objects of the invention are achieved with a method, telecommunications system, synchronization server, telecommunications device, computer programs and data storage media, which are characterized by what is stated in the independent claims. Preferred embodiments of the invention are described in the dependent claims.

[0008] The invention is based on the idea that at least one configuration message comprising data required for at least the enabling of synchronization is transmitted from a synchronization server to a terminal comprising a synchronization application, wherein the data at least comprises settings of one or more databases. The terminal can store the data in its memory, and the synchronization is carried out using at least part of the stored data. Thus, a synchronization connection is arranged between the terminal and the synchronization server, and the synchronization is initialized using the arranged synchronization connection and at least part of said data. At least data in a first database (in the terminal) and in a second database can subsequently be synchronized based on at least part of said data. The term ‘database’ is to be understood in a broad sense to refer to a data collection of any data source or data storage, which can be updated with one or more applications. The term ‘synchronization connection’ refers to a logical data transmission connection which is formed to begin the synchronization. The initialization of synchronization refers to preparation for the actual synchronization, for example the initialization of a synchronization session according to the SyncML standard.

[0009] The arrangement according to the invention provides the advantage that the user does not have to enter the required settings manually, but they can be sent from the synchronization server and taken automatically into use in the terminal. The commissioning and use of the synchronization service is thus easy and as transparent as possible for the user. The invention is particularly advantageous when there is a plurality of databases, whereby the database settings of the terminal can be completed at one time with a single configuration message. Thus, also, data transmission capacity is consumed as little as possible.

[0010] According to a preferred embodiment of the invention, the database settings comprise the name and address of at least one database and the information on the content types supported. During the initialization of the synchronization, the stored address is thus transmitted from the terminal to the synchronization server if data in the database in question needs to be synchronized. This embodiment brings about the advantage that all data needed to describe the databases are obtained from the server to the terminal, and the user does not need to enter them himself. On the basis of the type of the database, databases can be separated for different applications, for example for calendar or e-mail, or on the basis of other criteria, for instance according to whether it is a personal calendar, a calendar for work, or a group calendar. The content type refers to the format in which the data is transferred in the synchronization. Thus, on the basis of the content types supported by the database, it is known in the terminal as early as before the first synchronization whether data in the database can be synchronized via the server. If the terminal and the database support several content types that are the same, the most desired content type can be selected in the terminal for synchronization.

[0011] According to another preferred embodiment of the invention, the data also comprise user text, whereby the user text is displayed to the user of the terminal. Thus, different instructive texts can be transmitted from the synchronization server to inform and instruct the user.

[0012] According to yet another preferred embodiment of the invention, the data further comprise settings determining the timing of the synchronization, and the initialization of the synchronization session is started from the terminal at the moment of time according to said settings. The advantage of this is that the timing of the synchronization can be determined from the server (for example by the service provider), and the terminal can be arranged to start the synchronization automatically in accordance with said settings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The invention will now be described in greater detail in connection with preferred embodiments, with reference to the attached drawings, of which

[0014]FIG. 1 shows synchronization according to the SyncML synchronization protocol;

[0015]FIG. 2 shows a wireless network and a local area network;

[0016]FIG. 3 shows a method according to a preferred embodiment of the invention; and

[0017]FIG. 4 shows a configuration message according to a preferred embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

[0018] A preferred embodiment of the invention is described in the following in a system supporting the SyncML standard, without, however, confining the application range of the invention thereto. The invention can be applied in arranging the data synchronization in any system supporting any synchronization technique.

[0019]FIG. 2 shows a networked system which allows data synchronization in databases DB and terminals TE. As regards the synchronization, the terminal TE functions as the client device. FIG. 2 shows two examples, in the first of which terminals TE, databases DB and synchronization servers S are connected to a local area network LAN. The terminal TE connected to the network LAN comprises functionality, for instance a network interface card and software controlling the data transmission, for communicating with the devices of the network LAN. The local area network LAN can be a local area network of any type, and the TE can be in connection with the server S also via the Internet, typically using a firewall FW. In the second example, a terminal TE, a synchronization server S and databases DB are connected to a mobile network MNW. The terminal TE connected to the network MNW comprises mobile station functionality for wireless communication with the network MNW. The mobile network MNW can be any known wireless network, for example a network supporting the GSM service, a network supporting the GPRS service (General Packet Radio Service), a third-generation mobile network, such as the UMTS (Universal Mobile Telecommunications System) network, a wireless local area network WLAN or a private network. It should be noted that the server S can function as the database DB, although in FIG. 2 the servers S and databases DB are shown separately for the sake of clarity.

[0020] The terminals TE (in wired networks LAN and in wireless networks MNW) and the servers S comprise memory MEM; SMEM, a user interface UI; SUI, I/O means I/O; SI/O for arranging data transmission, and a central processing units CPU; SCPU comprising one or more processors. In the memory MEM, SMEM there is a non-volatile portion for storing the applications for controlling central processing unit CPU, SCPU, and a random access memory portion to be used for processing data. In the memory MEM of the TE (is a first database to be synchronized), and in the memory of the databases DB, the application data being the object of the synchronization are maintained. A client agent CA operating in accordance with the invention is preferably implemented by executing in the CPU computer program code stored in the memory MEM. Also the synchronization server S provides a synchronization agent SA and a synchronization engine SE according to the invention preferably by executing in the SCPU computer program code stored in the memory SMEM. The computer program code performed in the central processing units CPU and SCPU causes the terminal TE and the synchronization server S to implement the inventive features, one embodiment of which is illustrated in FIG. 3. The computer programs can be obtained via a network and/or stored in memory means, for instance on a disk, CD-ROM disk or in other external data storage media, from which they can be loaded into the memory MEM, SMEM. Integrated circuits can also be used.

[0021]FIG. 3 illustrates a synchronization method according to an embodiment of the invention. In the synchronization server S, at least one configuration message is formed 301 in accordance with a preferred embodiment of the invention. The server agent SA can collect data required for the arrangement of the synchronization for the terminal TE and form a configuration message CM. These data preferably includes the settings of one or more databases DB, especially the address and name of the database, the information on the content types supported, or other database features, the start settings relating to the starting time of the synchronization, the user instructions relating to the synchronization or the information of the server S. Other database features can include for instance an attribute defining whether the database is public or private (e.g. group calendar or private calendar). The addresses of the databases DB can be presented as either absolute or relative with regard to the address of the server S. The data in question have typically been stored in the memory SMEM of the synchronization server S, but S can, when required, retrieve them from the databases DB. The formation 301 of the configuration message can be started at the request of the terminal TE or at the request of the service provider of the local area network LAN or the mobile network MNW. The configuration message can be sent for example when the user has bought a terminal TE or registered into a service of the service provider. In accordance with a preferred embodiment of the invention, the configuration message is automatically transmitted from the server S when the data required for the synchronization have changed. For example, when the address of the database DB changes or when a new database has been taken into use, the server S sends a configuration message comprising the new address or a configuration message comprising the settings of the new database to all users of the database DB.

[0022] At least one configuration message formed is transmitted 302 from the synchronization server S to the terminal TE. When receiving the configuration message, the TE stores 303 at least part of the data in the message in its memory MEM, and it can present the possible user instructions in the user interface UI.

[0023] The formation of the synchronization connection and the initialization of the synchronization session can be started 304, 305 later in accordance with the stored data, at the starting time of the synchronization that is possibly determined in the start settings. The starting time can be determined in a plurality of ways, for example at certain intervals. The synchronization service can also be started on the initiative of the user or the synchronization server. Thus, the databases to be synchronized are determined on the basis of the application or a command by the user, or all databases whose settings are stored can be synchronized. Here, too, data stored in the memory MEM can be utilized, for instance data on the content types of the databases. If the synchronization service is started on the initiative of the server S, it also starts the formation of a logical synchronization connection.

[0024] The use of configuration messages brings about a plurality of advantages: the usability of the synchronization service is improved, because all the data required for the synchronization can be transmitted at one time, and the definition of the settings for the terminal takes place automatically and quickly after the reception of the configuration message. When all the data required is transmitted in one message, the use of the resources of the network and the terminal is efficient, and several authentications are not required, for instance.

[0025] When synchronization service is needed, the client agent CA searches 304 the memory MEM for data, particularly the settings of the databases DB. The client agent CA forms a client initialization message, for the transmission of which a logical synchronization connection is formed, and an initialization message is transmitted 305 from the terminal TE to the server S defined in the data. A logical synchronization connection is formed even if the data transmission itself takes place using connectionless protocols. The logical synchronization connection can be arranged via the transmission of the initialization message, or exchange of previous messages can be performed. In the initialization message, the synchronization server S is informed on which databases' data is to be synchronized and which synchronization type is used, typically also authentication information and information on the service and device properties supported by the terminal TE. Also, a user text can be stored in the memory MEM, to be displayed at this stage to inform the user on the synchronization to be performed and aspects relating thereto.

[0026] Having received the initialization message, the server S completes the initialization by responding with an initialization message 306 of its own. The initialization message comprises device and authentication information of the server. When the initialization has been completed, data of at least one database DB and terminal TE determined in the initialization of the synchronization can be 307 synchronized. The synchronization server S is thus arranged to perform 307 the data synchronization using at least part of the configuration message data, which has been transmitted (305) from the terminal. Finally, the result of the synchronization can be displayed to the user.

[0027] The synchronization type to be used may be for instance:

[0028] two-way synchronization;

[0029] slow synchronization;

[0030] one-way synchronization from client only;

[0031] refresh synchronization from client only;

[0032] one-way synchronization from server only;

[0033] refresh synchronization from server only;

[0034] server-alerted synchronization.

[0035] As for a more detailed description of the initialization of a synchronization session and synchronization 307 of data, the standard SyncML Sync Protocol, version 1.0, December 2000, is incorporated as reference herein. However, configuration messages according to the invention can be used for transmitting data relating to the synchronization of any synchronization method.

[0036] It is to be observed that the synchronization (307) can, contrary to FIG. 3, be started without separate initialization messages (306 to 307). In such a case, the initialization is performed simultaneously with the synchronization. Configuration messages can, however, be used in the way illustrated in FIG. 3, for defining the settings of the initialization of the synchronization, and of the synchronization. Thus, the number of messages to be transmitted can be reduced.

[0037]FIG. 4 illustrates contents of a configuration message according to a preferred embodiment of the invention. The configuration messages can be distinguished by a given type of a given MIME type (Multipurpose Internet Mail Extensions) MIMEH added to the message.

[0038] In accordance with a preferred embodiment of the invention, configuration messages are in the XML format. The configuration message is thus a message in the XML format, comprising data transmitted from the synchronization server S to the terminal TE, relating to the arrangement of synchronization, particularly to the performance of the initialization of the synchronization. For the configuration messages, a document type definition DTD is defined which determines in the XML language the used tags, structural proportions of the elements (!ELEMENT) between the tags, and other XML document definitions. As is very well known for the XML language, an element begins with a start-tag (e.g. <section>) and ends with an end-tag (</section>), and it can contain text or other elements. A DTD is included in all configuration messages transmitted by the synchronization server, or the configuration messages refer to a DTD already known by the terminal TE. The following represents an exemplary DTD for a configuration message: <!ELEMENT SyncSettings (Version, HostAddr, Port?, RemoteDB+, Name?, Info?, Auth*, ConRef?, Condition?)> <!ELEMENT Version (#PCDATA)> <!ELEMENT HostAddr (#PCDATA)> <!ELEMENT Port (#PCDATA)> <!ELEMENT RemoteDB ((CTType, CTVer*)+, URI, Name?)> <!ELEMENT URI (#PCDATA)> <!ELEMENT CTType (#PCDATA)> <!ELEMENT CTVer (#PCDATA)> <!ELEMENT URI (#PCDATA)> <!ELEMENT Name (#PCDATA)> <!ELEMENT Info (#PCDATA)> <!ELEMENT Auth (AuthLevel, AuthScheme, ((Username | Cred) | (Username, Cred)))> <!ELEMENT AuthLevel (#PCDATA)> <!ELEMENT AuthScheme (#PCDATA)> <!ELEMENT Username (#PCDATA)> <!ELEMENT Cred (#PCDATA)> <!ELEMENT ConRef (ConType, ((Bearer?, AddrType, Addr) | RefID)) > <!ELEMENT ConType (#PCDATA)> <!ELEMENT Bearer (#PCDATA)> <!ELEMENT AddrType (#PCDATA)> <!ELEMENT Addr (#PCDATA)> <!ELEMENT RefID (#PCDATA)> <!ELEMENT Condition (#PCDATA)>

[0039] The question mark ‘?’ expresses that the particular element is optional. The sign ‘+’ expresses that the element occurs once or more than once. It is to be observed that all elements are not mandatory and that the invention can also be applied using elements that differ from what is presented herein. The following describes the different elements of the configuration message of FIG. 4 in more detail:

[0040] SyncSettings. This element is a root element determined in the XML language, comprising the tags of the other elements. On the basis of the root element it is observed that the message concerns specifically a configuration message comprising data relating to the arrangement of the synchronization.

[0041] Version. This element determines the version of the configuration message format. When the format of the configuration message is changed substantially, the number of the version must also be changed.

[0042] Name. This element determines the displayable name of the data (configuration message) relating to the arrangement of the synchronization or of the database. If this element is used within the root element SyncSettings, it determines the name of said data. If the element is used within the element RemoteDB, it determines the displayable name of the database. The name can also be displayed to the user.

[0043] Host Addr. This element contains the host address of the SyncML synchronization service (service agent SA). This is typically an IP address or a uniform resource locator URL. A telephone number or a device tag can also be used.

[0044] Info. This element contains text that can be displayed to the user when the synchronization message is received (303) or later (305). The user text can be for instance short information on the synchronization service or instructions to control the actions of the user. This element can also be in the element RemoteDB, whereby database-specific data can be presented to the user.

[0045] Port. This element determines the TCP port of the synchronization server S (SyncML synchronization service). All configuration messages should support this element. If the element is not determined, the default port value is 80.

[0046] Auth. This element can contain other four elements (AuthLevel, AuthScheme, ((Username|Cred)|(Username, Cred))). This element determines the authentication methods and credentials used in the SyncML session. The element can be used in the authentication of the transport protocol layer, for example HTTP protocol or the transport layer (WSP) of the WAP protocol, or in the authentication of the SyncML service. The element comprises information on the authentication level, the authentication method, the user identifier and the credentials.

[0047] AuthLevel. This element determines the authentication level. The authentication level is presented numerically for example in the way indicated in Table 1 as follows. TABLE 1 Authentication level Value Description SyncML server ‘1’ Used in credentials of element SyncHdr SyncML database ‘2’ Used in credentials of SyncML database level HTTP/WSP ‘3’ HTTP level authentication OBEX ‘4’ OBEX authentication

[0048] AuthScheme. This element determines the authentication method. The value can be numeric or it can be determined in the way indicated in Table 2. TABLE 2 Authentication method Value Basic ‘1’ Digest (MD5) ‘2’

[0049] Username. This element determines the user name for the authentication on the SyncML synchronization service level or the transfer protocol level. The element AuthLevel determines the authentication level for which the given user name is intended.

[0050] Cred. This element determines the authentication credentials. The element AuthLevel determines the authentication level for which the credentials are intended. If the authentication method is ‘Basic’ or ‘Digest’, the credentials contain a password for the user identifier determined in the element UserName.

[0051] ConRef. This element determines a reference to the physical or logical access point (connection reference), which is used with these synchronization settings. The element contains the elements ConType, ((Bearer?, AddrType, Addr)|RefID)).

[0052] ConType. This element determines the connection type, which can be presented in the way indicated in Table 3. TABLE 3 Connection type Value Description WAP 1.x proxy ‘1’ — HTTP/WAP 2.x ‘2’ — (WAP NG) proxy Logical ‘3’ Name according to which the access access point points are grouped Physical ‘4’ Refers to real address: bearer service, access point address type, address value

[0053] If the connection type is WAP 1.x server, the HTTP/WAP 2.x proxy server, or a logical access point, the contents of the element RefID are used to determine the connection reference. If the physical access point is used, the contents of the elements Bearer, AddrType and Addr determine the connection reference.

[0054] Bearer. This element determines the bearer service type of the connection reference. The type of the bearer service can be determined for example in the way indicated in the table of Appendix 2, without, however, being confined to the bearer service types presented therein.

[0055] AddrType. This element determines the address type of the connection reference. The address type can be presented numerically in the way indicated in Table 4. TABLE 4 Address type Value Description IPV4 ‘1’ IPv4 address as hexadecimal numbers IPV6 ‘2’ IPv6 address as hexadecimal numbers E164 ‘3’ Telephone number according to E164 definition ALPHA ‘4’ General alphanumeric address APN ‘5’ Access point name APN

[0056] Addr. This element determines the address of the connection reference. The address can be for example a telephone number or an IP address. The type of the address is determined in the AddrType element or on the basis of the address value itself.

[0057] RefID. This element determines the logical reference value of the connection reference. The reference value is the logical name or another tag of the connection point.

[0058] RemoteDB. This element determines one or more databases whose data is synchronized. The element may contain five elements ((CTType, CTVer*)+, URI, Name?, Info?). The element may further contain other definitions relating to the database, or user text.

[0059] URI. This element determines the relative or absolute URI (Universal Resource Indicator) of the database. The URI can be later used within SyncML alert and synchronization commands, used in the initialization of the synchronization session and the synchronization to indicate the database to be synchronized.

[0060] The element URI may also have additional attributes, which allow a more detailed description of the properties of the database or the application in question. The additional attributes may be further specified by defining e.g. whether a calendar is a personal calendar, a calendar used at work, or a family calendar. The additional attributes may be defined by means of indicators in a text format, for example, to be added to the element URI (see Appendix 2), or by using one or more specific elements. The additional attributes may be presented in the element URI in the way indicated in ‘SyncML Representation Protocol, version 1.0’, of the SyncML standard, December 2000, Chapter 4.18. Thus, there may be various types of databases in the same address (URI) which must be distinguished from each other with additional attributes in the configuration message. The synchronization (304 to 307) can be determined for different types of databases URI in the terminal TE on the basis of the data of this element, for example by using different initialization settings for different types.

[0061] CTType. This element determines the media content types supported by the database. In this way, the type of the database can be defined; the types include for instance a calendar, contacts, notes, short messages, multimedia messages, images, e-mail or other type. The WWW site http:/www.isi.edu/in-notes/iana/assignments/media-types/media-types presents IANA's (Internet Assigned Numbers Authority) media content types, which can be used in this element. The value of this element can be for example text/x-vcard, text/vcard, text/x-vcalendar, or text/vcalendar.

[0062] CTVer. This element determines the version of the content type supported. If the content type, i.e. the MIME type has several different versions, this element is obligatory (e.g. text/html 1.1/1.2./1.3).

[0063] Condition. This element contains parameters or conditions concerning the start of the synchronization. For example, it can be determined that the synchronization is started every five hours.

[0064] In accordance with a preferred embodiment of the invention, additions can be made to previous data relating to the databases DB stored in the terminal TE, or this data can be replaced with new data on the basis of the data of the configuration message. Thus, there is preferably a field in the configuration message that determines whether the data concerned is new data, replacement data or additional data. On the basis of this field, the terminal TE can store the configuration message data correctly. In order to implement this embodiment, separate tags, for instance <replace/>, <add/>or <new/>, can be used below the root element SyncSettings.

[0065] The elements are not in any way confined to the above-described elements and their application is not confined to the XML format but data can be transmitted in configuration messages in the HTML format, for example. Appendix 2 further presents a cleartext XML example of a configuration message comprising elements of the DTD described above.

[0066] Although the above-described elements contain references to the WAP standard according to a preferred embodiment of the invention (whereby the synchronization would preferably take place utilizing the WSP protocol), the transmission of configuration messages is not, however, confined thereto. For example HTTP or OBEX standards and transmission techniques of lower layers supported by these standards can also be used.

[0067] In accordance with a preferred embodiment of the invention, the synchronization server S connected to a wireless telecommunications system encodes (step 301) the configuration messages into the binary WBXML (Wireless Binary XML) format. The documents in the XML format can be converted into the WBXML format (or HTML format). The use of the WBXML format brings about the advantage that the amount of data transmission capacity required is decreased, which is particularly advantageous in the transmission of a radio interface. The WBXML format is preferable when configuration messages are transferred using mechanisms providing restricted data transmission capacity, for instance in short message service SMS. Appendix 3 further presents a possibility for token assignments to attach the above-described elements into the WBXML format.

[0068] If transmitted using the push service of the WSP protocol, configuration messages must be assigned to a predetermined WDP (Wireless Datagram Protocol) port. The terminal TE must listen to this port. Transmission on a lower level can take place using any transmission protocol supported by the WAP protocol, for example using SMS or other signalling-type transmission manners (e.g. USSD; Unstructured Supplementary Service Data), or using circuit-switched data calls or packet-transmitted data transmission services.

[0069] It is obvious to a person skilled in the art that as the technology advances, the basic idea of the invention can be implemented in a plurality of ways. Therefore, the invention and embodiments thereof are not confined to the above-described examples but can vary within the scope of the claims. APPENDIX 1 Bearer service type Value GSM-USSD  ‘1’ GSM-SMS  ‘2’ ANSI-136-GUTS  ‘3’ IS-95-CDMA-SMS  ‘4’ IS-95-CDMA-CSD  ‘5’ IS-95-CDMA-PACKET  ‘6’ ANSI-136-CSD  ‘7’ ANSI-136-GPRS  ‘8’ GSM-CSD  ‘9’ GSM-GPRS ‘10’ AMPS-CDPD ‘11’ PDC-CSD ‘12’ PDC-PACKET ‘13’ IDEN-SMS ‘14’ IDEN-CSD ‘15’ IDEN-PACKET ‘16’ FLEX/REFLEX ‘17’ PHS-SMS ‘18’ PHS-CSD ‘19’ TETRA-SDS ‘20’ TETRA-PACKET ‘21’ ANSI-136-GHOST ‘22’ MOBITEX MPAK ‘23’ OBEX ‘24’

[0070] APPENDIX 2 <SyncSettings> <Version>1.0</Version> <Name>Synchronization Server</Name> <HostAddr>http://www.syncserver.com /sync</HostAddr> <Info>This is a synchronization server for your use.</Info> <Port>8080</Port> <Auth> <AuthLevel>3</AuthLevel> <AuthScheme>1</AuthScheme> <Username>virtanen</Username> <Cred>password</Cred> </Auth> <Auth> <AuthLevel>1</AuthLevel> <AuthScheme>1</AuthScheme> <Username>mvirtan</Username> <Cred>password</Cred> </Auth> <ConRef> <ConType>1</ConType> <RefID>Nokia AP</RefID> </ConRef> <RemoteDB> <URI>./Contacts?CLASS&EQ;PRIVATE </URI> <CTType>text/x-vcard</CTType> <CTVer>2.1</CTVer> <Name>Private Contact DB</Name> </RemoteDB> <RemoteDB> <URI>./Calendar</URI> <CTType>text/x-vcalendar</CTType> <CTVer>1.0</CTVer> <Name>Calendar DB</Name> </RemoteDB> <Condition>Every fifth hours</Condition> </SyncSettings>

[0071] Appendix 3 WBXML token Element (hexadecimal value) Addr 05 AddrType 06 Auth 07 AuthLevel 08 AuthScheme 09 Bearer 0A ConRef 0B ConType 0C Cred 0D CTType 0E CTVer 0F HostAddr 10 Name 11 Port 12 RefID 13 RemoteDB 14 SyncSettings 15 URI 16 Username 17 Version 18 Info 19 Conditions 1A 

1. A method of arranging data synchronization of at least one application in a networked system comprising at least one terminal, at least one synchronization server, a first database in the terminal, and a second database, wherein a synchronization connection is arranged between the terminal and the synchronization server to perform synchronization, the method comprising: forming a configuration message comprising data required for the application data synchronization, said data comprising settings of at least the second database; transmitting said configuration message from the synchronization server to the terminal; initializing the synchronization using the arranged synchronization connection and at least part of said data, and synchronizing data of at least the first database and the second database using at least part of said data.
 2. A method according to claim 1, wherein the settings of said at least second database comprise at least the name of the second database, the data on the content types supported, and an address, such a URI indicator, and at least said address is transmitted in the initialization of the synchronization session preceding the data synchronization from the terminal to the synchronization server as a response to the need to synchronize data of the second database.
 3. A method according to claim 1, wherein said data further comprises user text, and the user text is displayed to the user of the terminal.
 4. A method according to claim 1, wherein said data further comprises settings defining the timing of the synchronization, and the formation of the synchronization connection and the initialization of the synchronization is started from the terminal at the moment of time according to said settings.
 5. A method according to claim 1, wherein said configuration message comprises at least one field which defines whether said data is new, replacing previous data or complementary.
 6. A method according to claim 1, wherein said configuration message is an XML document in a binary or text format.
 7. A method according to claim 1, wherein said configuration message is transmitted using one or more of the following protocols: SMS, OBEX, HTTP, or WAP.
 8. A method according to claim 1, wherein the data transmission between the synchronization server and the wireless terminal is based on the WAP protocol stack; and the initialization of the synchronization session and the synchronization is based on the SyncML synchronization protocol performed on top of the WAP protocol stack.
 9. A method according to claim 1, wherein said data comprises settings of a plurality of databases; and data of at least the first database and said plurality of databases is synchronized using at least part of said data.
 10. A telecommunications system comprising at least one terminal, at least one synchronization server, a first database in the terminal, and a second database, in which system: the synchronization server is configured to form a configuration message comprising data required for the application data synchronization, said data comprising settings of at least the second database; the synchronization server is configured to transmit said configuration message to the terminal; the terminal and the synchronization server are configured to establish a synchronization connection between the terminal and the synchronization server for the performance of the synchronization, the terminal and the synchronization server are configured to initialize the synchronization using the configured synchronization connection and at least part of said data; and the synchronization server is configured to synchronize data of at least the first database and the second database using at least part of said data.
 11. A telecommunications system according to claim 10, wherein said data comprises at least one of the following: settings relating to the timing of the start of the synchronization; the name and address of at least the second database, and the data on the content types supported by it; user text, which is displayed to the user in the terminal; information on the synchronization server.
 12. A synchronization server comprising means for synchronizing the application data of at least the first database and the second database of the terminal, wherein said synchronization server is further configured to form a configuration message comprising data required for the application data synchronization, said data comprising settings of at least the second database; to transmit said configuration message from the synchronization server to the terminal; to initialize synchronization, using an arranged synchronization connection and at least part of said data transmitted by the terminal during the initialization, and to synchronize data of at least the first database and the second database using at least part of said data.
 13. A synchronization server according to claim 12, wherein said data comprises at least one of the following: settings relating to the timing of the start of the synchronization; the name and address of at least the second database, and the data on the content types supported by it; user text to be displayed to the user; data of the synchronization server.
 14. A telecommunications device comprising means for arranging application data synchronization of the first database in the telecommunications device with at least one synchronization server and the second database, whereby said telecommunications device is configured to receive at least one configuration message comprising data required for the application data synchronization from the synchronization server, said data comprising settings of at least the second database; to store said data in its memory; to establish a synchronization connection between the telecommunications device and the synchronization server to perform the synchronization; and to initialize synchronization with the synchronization server using at least part of said data.
 15. A telecommunications device according to claim 14, wherein said data further comprises settings defining the timing of the synchronization; and the telecommunications device is configured to start the formation of the synchronization connection and the initialization of the synchronization at the moment of time according to said settings.
 16. A telecommunications device according to claim 14, wherein said data further comprises user text; and the telecommunications device is configured to display the user text to the user of the telecommunications system.
 17. A telecommunications device according to claim 14, wherein said settings of at least the second database comprise at least the name of the database, the data on the content types supported, and an address, such as a URI indicator; and the telecommunications device is configured to transmit in the initialization of the synchronization at least said address to the synchronization server as a response to the need to synchronize data of said database.
 18. A telecommunications device according to claim 14, wherein the telecommunications device is wireless and supports the WAP protocol and the SyncML synchronization protocol performed on top of the WAP protocol; the telecommunications device is configured to communicate with the synchronization server using the WAP protocol; and the client agent of the telecommunications device is configured to communicate with the server agent of the synchronization server in accordance with the SyncML synchronization protocol.
 19. A computer program, which can be loaded into the internal memory of the telecommunications device comprising at least the first database and comprises code to be executed in the telecommunications device, which code causes the telecommunications device to: receive at least one configuration message comprising data required for the application data synchronization, said data comprising at least settings of the second database; store said data in its memory; arrange a synchronization connection between the telecommunications device and the synchronization server to perform the synchronization; and initialize synchronization with the synchronization server using at least part of said data.
 20. A computer-readable data storage medium, wherein said data storage medium comprises a computer program which can be loaded into the internal memory of the telecommunications device comprising at least the first database and comprises code to be executed in the telecommunications device, which code causes the telecommunications device to: receive at least one configuration message comprising data required for the application data synchronization, said data comprising at least settings of the second database; store said data in its memory; arrange a synchronization connection between the telecommunications device and the synchronization server to perform the synchronization; and initialize synchronization with the synchronization server using at least part of said data.
 21. A computer program which can be loaded into the internal memory of the computer functioning as the synchronization server, wherein said computer program comprises code to be executed in the synchronization server, which code causes the synchronization server to: form a configuration message comprising data required for the application data synchronization, which said data comprises settings of at least the second database; transmit said configuration message from the synchronization server to at least one terminal; initialize synchronization using the configured synchronization connection and at least part of said data transmitted by the terminal during the initialization; and synchronize data of at least the first database and the second database using at least part of said data.
 22. A computer-readable data storage medium, wherein said data storage medium comprises a computer program which can be loaded into the internal memory of the computer functioning as the synchronization server, wherein said computer program comprises code to be executed in the synchronization server, which code causes the synchronization server to: form a configuration message comprising data required for the application data synchronization, which said data comprises settings of at least the second database; transmit said configuration message from the synchronization server to at least one terminal; initialize synchronization using the configured synchronization connection and at least part of said data transmitted by the terminal during the initialization; and synchronize data of at least the first database and the second database using at least part of said data. 